<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<sj:head locale="es" jqueryui="true" jquerytheme="cupertino" />
<link rel="stylesheet" type="text/css" href="estilo/style.css" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Prospectos registrados...</title>
<script language="JavaScript" type="text/javascript">	
   function maximizar() { 
		self.moveTo(0,0); 
		self.resizeTo(screen.availWidth,screen.availHeight); 
	} 
</script>
</head>
<body onload="maximizar()" >
  <div class='logo_sia'><img src="images/logo.png" /></div>
  <div class="barra_tit_corp" align='center'>Reporte prospectos</div>
  <s:url id="car_1" value="rpt_prospectos.action" /> 
  <s:url id="car_2" value="ver_grf_prospectos.action" /> 
  
    <s:form id="form" action="rpt_prospectos.action" targets="reporte" theme="simple" >
         <table border='0'>
             <tr><td>Tipo</td><td>Prospecto</td><td>Status</td><td></td><td></td></tr>
             <tr VALIGN=TOP>
                 <td><s:select label="Tipo:" name="prospecto.tipo" id="tipo" headerKey="TODOS" headerValue="TODOS" list="#{'CORPORATIVO':'CORPORATIVO','PYME':'PYME'}" theme="simple" /></td><td><s:textfield  size='40' id="prospecto" name="prospecto.nombres" value="" /> </td><td><s:select label="Status:" name="prospecto.status" id="status" headerKey="TODOS" headerValue="TODOS" list="#{'POR ASIGNAR':'POR ASIGNAR','EN PROCESO':'EN PROCESO','FINALIZADO':'FINALIZADO','PROCESADO':'PROCESADO','EN PAUSA':'EN PAUSA','RECHAZADO':'RECHAZADO'}" theme="simple" /> </td>
                 <td><sj:a id="filtrar"  href="%{car_1}"  formIds="form" targets="reporte"  indicator="indicatorc" button="true" buttonIcon="ui-icon-gear" effect="highlight" effectOptions="{ color : '#222222' }" effectDuration="3000"  >Filtrar</sj:a><img id="indicatorc" src="images/ajax-loader3.gif" alt="Cargando..." style="display: none" /></td>
                 <td><sj:a id="Graficar"  href="%{car_2}"  formIds="form" targets="reporte"  indicator="indicatorc" button="true" buttonIcon="ui-icon-gear" effect="highlight" effectOptions="{ color : '#222222' }" effectDuration="3000"  >Graficar</sj:a></td>
             </tr>
        </table>      
    </s:form>
    
    <sj:div id='reporte' href="%{car_1}" indicator="indicatorc"  >
    </sj:div>	
</body>
</html>